package com.taojin.shoppinginterest.constants;

/**
 * @Package com.qianfeng.zw.mgstreet.constants
 * @作 用:
 * @创 建 人: zhangwei
 * @日 期: 15/5/8 14:23
 * @修 改 人:
 * @日 期:
 */
public class ApiConfig {
    /**
     * 网址
     */
    public static final String URL = "http://www.yuesoho.com/interface.php";
    public static final String URL2 = "http://www.yuesoho.com/interface.php?act=top_list&app=other&page=1&perpage=20&pt=2&ver=1.1";

    public static String getTopicUrl(String id) {
        return "http://www.yuesoho.com/detail/topic/" + id + ".html";
    }

    public static String getFavorableUrl(String id) {
        return "http://www.yuesoho.com/detail/activity/" + id + ".html";
    }

    public static String getWelfareUrl(String id) {
        return "http://www.yuesoho.com/detail/gift/" + id + ".html";

    }
}
